<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="pragma" content="no-cache" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        <title></title>
        <link rel="stylesheet" rev="stylesheet" href="{{$http_url}}/css/style.css" type="text/css" media="all" />
    </head>
    <body class="ContentBody">
        <form action="{{$http_url}}/examination/Strategy/" method="post"  name="form" >
            <div class="MainDiv">
                <table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
                    <tr>
                        <th class="tablestyle_title" >{{if $id}}编辑审批策略{{else}}添加审批策略{{/if}}</th>
                    </tr>
                    <tr>
                        <td class="CPanel">
                            <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
                                <tr>
                                    <td width="100%">
                                           <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                                                <tr>
                                                    <td nowrap  width="10%" align="right">审批策略名称:</td>
                                                    <td width="35%"><input id="rule_name" name='rule_name' type="text" class="text" style="width:200px" {{if $details.0.name}} value="{{$details.0.name}}" {{/if}} /></td>
                                                </tr>
                                                <tr>
                                                    <td nowrap align="right" width="10%">审批策略类型:</td>
                                                    <td width="35%">
                                                        <select name="rule_type">
                                                            <option value="0" {{if $details.0.type==0}} selected="selected" {{/if}}>刻录审批策略</option>
                                                            <option value="1" {{if $details.0.type==1}} selected="selected" {{/if}}>数据交换审批策略</option>
                                                        </select>
                                                    </td>
                                                </tr>
                                            </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="100%">
                                        <fieldset style="height:100%;">
                                            <legend>非密</legend>
                                            <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                                                <tr>
                                                    <td nowrap  width="10%" align="right">审批方式:</td>
                                                    <td width="35%"><input type="radio" name="non_radio" value="1" {{if $non.1 ==1 }} checked="checked" {{elseif !$id}} checked="checked" {{/if}}/>&nbsp;强制审批<input type="radio" name="non_radio" value="0" {{if $non.1 ==0 }} checked="checked" {{/if}}style="margin-left:30px;"/>&nbsp;不审批</td>
                                                </tr>
                                                <tr>
                                                    <td nowrap align="right" width="10%">最少审批级数:</td>
                                                    <td width="35%">
                                                        <select name="non_rule">
                                                            <option value="1" {{if $non.2 ==1 }} selected="selected" {{/if}}>1</option>
                                                            <option value="2" {{if $non.2 ==2 }} selected="selected" {{/if}}>2</option>
                                                            <option value="3" {{if $non.2 ==3 }} selected="selected" {{/if}}>3</option>
                                                            <option value="4" {{if $non.2 ==4 }} selected="selected" {{/if}}>4</option>
                                                            <option value="5" {{if $non.2 ==5 }} selected="selected" {{/if}}>5</option>
                                                        </select>
                                                    </td>
                                                </tr>
                                            </table>
                                        </fieldset></td>
                                </tr>
                                <tr>
                                    <td width="100%">
                                        <fieldset style="height:100%;">
                                            <legend>内部</legend>
                                            <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                                                <tr>
                                                    <td nowrap  width="10%" align="right">审批方式:</td>
                                                    <td width="35%"><input type="radio" name="internal_radio" value="1" {{if $internal.1 ==1 }} checked="checked" {{elseif !$id}} checked="checked" {{/if}}/>&nbsp;强制审批<input type="radio" name="internal_radio" value="0" {{if $internal.1 ==0 }} checked="checked" {{/if}} style="margin-left:30px;"/>&nbsp;不审批</td>
                                                </tr>
                                                <tr>
                                                    <td nowrap align="right" width="10%">最少审批级数:</td>
                                                    <td width="35%">
                                                        <select name="internal_rule">
                                                            <option value="1" {{if $internal.2 ==1 }} selected="selected" {{/if}}>1</option>
                                                            <option value="2" {{if $internal.2 ==2 }} selected="selected" {{/if}}>2</option>
                                                            <option value="3" {{if $internal.2 ==3 }} selected="selected" {{/if}}>3</option>
                                                            <option value="4" {{if $internal.2 ==4 }} selected="selected" {{/if}}>4</option>
                                                            <option value="5" {{if $internal.2 ==5 }} selected="selected" {{/if}}>5</option>
                                                        </select>
                                                    </td>
                                                </tr>
                                            </table>
                                        </fieldset></td>
                                </tr>
                                <tr>
                                    <td width="100%">
                                        <fieldset style="height:100%;">
                                            <legend>秘密</legend>
                                            <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                                                <tr>
                                                    <td nowrap  width="10%" align="right">审批方式:</td>
                                                    <td width="35%"><input type="radio" name="secret_radio" value="1" {{if $secret.1 ==1 }} checked="checked" {{elseif !$id}} checked="checked" {{/if}}/>&nbsp;强制审批<input type="radio" name="secret_radio" value="0" {{if $secret.1 ==0 }} checked="checked" {{/if}} style="margin-left:30px;"/>&nbsp;不审批</td>
                                                </tr>
                                                <tr>
                                                    <td nowrap align="right" width="10%">最少审批级数:</td>
                                                    <td width="35%">
                                                        <select name="secret_rule">
                                                            <option value="1" {{if $secret.2 ==1 }} selected="selected" {{/if}}>1</option>
                                                            <option value="2" {{if $secret.2 ==2 }} selected="selected" {{/if}}>2</option>
                                                            <option value="3" {{if $secret.2 ==3 }} selected="selected" {{/if}}>3</option>
                                                            <option value="4" {{if $secret.2 ==4 }} selected="selected" {{/if}}>4</option>
                                                            <option value="5" {{if $secret.2 ==5 }} selected="selected" {{/if}}>5</option>
                                                        </select>
                                                    </td>
                                                </tr>
                                            </table>
                                        </fieldset></td>
                                </tr>
                                <tr>
                                    <td width="100%">
                                        <fieldset style="height:100%;">
                                            <legend>机密</legend>
                                            <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                                                <tr>
                                                    <td nowrap  width="10%" align="right">审批方式:</td>
                                                    <td width="35%"><input type="radio" name="con_radio" value="1" {{if $con.1 ==1 }} checked="checked" {{elseif !$id}} checked="checked" {{/if}}/>&nbsp;强制审批<input type="radio" name="con_radio" value="0" {{if $con.1 ==0 }} checked="checked" {{/if}} style="margin-left:30px;"/>&nbsp;不审批</td>
                                                </tr>
                                                <tr>
                                                    <td nowrap align="right" width="10%">最少审批级数:</td>
                                                    <td width="35%">
                                                        <select name="con_rule">
                                                            <option value="1" {{if $con.2 ==1 }} selected="selected" {{/if}}>1</option>
                                                            <option value="2" {{if $con.2 ==2 }} selected="selected" {{/if}}>2</option>
                                                            <option value="3" {{if $con.2 ==3 }} selected="selected" {{/if}}>3</option>
                                                            <option value="4" {{if $con.2 ==4 }} selected="selected" {{/if}}>4</option>
                                                            <option value="5" {{if $con.2 ==5 }} selected="selected" {{/if}}>5</option>
                                                        </select>
                                                    </td>
                                                </tr>
                                            </table>
                                        </fieldset></td>
                                </tr>
                                <tr>
                                    <td width="100%">
                                        <fieldset style="height:100%;">
                                            <legend>绝密</legend>
                                            <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                                                <tr>
                                                    <td nowrap  width="10%" align="right">审批方式:</td>
                                                    <td width="35%"><input type="radio" name="top_radio" value="1" {{if $top.1 ==1 }} checked="checked" {{elseif !$id}} checked="checked" {{/if}} />&nbsp;强制审批<input type="radio" name="top_radio" value="0" {{if $top.1 ==0 }} checked="checked" {{/if}} style="margin-left:30px;"/>&nbsp;不审批</td>
                                                </tr>
                                                <tr>
                                                    <td nowrap align="right" width="10%">最少审批级数:</td>
                                                    <td width="35%">
                                                        <select name="top_rule">
                                                            <option value="1" {{if $top.2 ==1 }} selected="selected" {{/if}}>1</option>
                                                            <option value="2" {{if $top.2 ==2 }} selected="selected" {{/if}}>2</option>
                                                            <option value="3" {{if $top.2 ==3 }} selected="selected" {{/if}}>3</option>
                                                            <option value="4" {{if $top.2 ==4 }} selected="selected" {{/if}}>4</option>
                                                            <option value="5" {{if $top.2 ==5 }} selected="selected" {{/if}}>5</option>
                                                        </select>
                                                    </td>
                                                </tr>
                                            </table>
                                        </fieldset></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center" height="50px">
                            <input id="submit" type="submit" name="submit" value="保存" class="button" />　
                            <input type="button" name="Submit2" value="返回" class="button" onclick="window.history.go(-1);"/>
                        </td>
                    </tr>
                </table>
            </div>
            {{if $id}}
            <input type="hidden" name="job" value="job">
            <input type="hidden" name="id" value="{{$id}}">
            {{/if}}
        </form>
    </body>
</html>
